﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NumericalData.Interpolation.Data;
using NumericalData.Interpolation.Data.Methods;

namespace NumericalData.Interpolation.Data.Methods
{
    abstract public class AbstractInterpolationMethod<T> where T : InterpolatedFunction
    {
    }

    abstract public class InterpolationMethod : AbstractInterpolationMethod<InterpolatedFunction> 
    {
        public abstract InterpolatedFunction ExecuteFunction(ExpressionContainer exp);
    }

    public class StirlingMethod: InterpolationMethod
    {
        public override InterpolatedFunction ExecuteFunction(ExpressionContainer exp)
        {
            return new StirlingFunction(exp);
        }

    }

}


